package com.supermap.disaster.entity;

import java.util.Date;
import java.util.List;

/**
 * @author lxs
 * @Title:灾情评论实体
 * @Description:
 * @date 2018/3/9  16:56
 */

public class DisasterComment {

    /**
     * 灾情评论id
     */
    private int id;

    /**
     * 灾情id
     */
    private int disasterId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     *父节点ID
     */
    private int parentId;

    /**
     *用户id
     */
    private int userId;
    /**
     * 用户名称
     */
    private String username;

    /**
     *评论时间
     */
    private Date commentTime;

    /**
     * 评论子节点
     */
    private List<DisasterComment> childrenNode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDisasterId() {
        return disasterId;
    }

    public void setDisasterId(int disasterId) {
        this.disasterId = disasterId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public List<DisasterComment> getChildrenNode() {
        return childrenNode;
    }

    public void setChildrenNode(List<DisasterComment> childrenNode) {
        this.childrenNode = childrenNode;
    }
}
